package com.haiwei.poi.word.sign;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * 标签参数.
 *
 * @date: 2022-06-25
 * @version: 1.0
 * @author: karry@haiwei.com
 */
public abstract class HaiweiBaseSign implements HaiweiISign{
    
    /**
     * 标签内容
     * ##{客户1.名称1:width=35&height=35&unit=px&limit=9&row=3}
     */
    private String signContext;
    
    /**
     * 标签路径
     * 示例：customer.name
     * 示例：客户1.名称1
     */
    private String path;
    
    /**
     * 存放参数
     * 示例：width=35&height=35&unit=px&limit=9&row=3
     */
    private Map<String,String> params = new HashMap<>();
    
    public String getSignContext() {
        return signContext;
    }
    
    public void setSignContext(String signContext) {
        this.signContext = signContext;
    }
    
    public String getPath() {
        return path;
    }
    
    public void setPath(String path) {
        this.path = path;
    }
    
    public Map<String, String> getParams() {
        return params;
    }
    
    public void setParams(Map<String, String> params) {
        this.params = params;
    }
}
